home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
5_11.lha
/
5_11
/
5_10a2.c
< prev
next >
Wrap
Text File
|
1993-08-08
|
512b
|
22 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
/ construct a symbol table
include <table.h>
include <error.h>
able::table(int sz)
if (sz <= 0)
error("non-positive table size");
tbl = new name*[size = sz];
for (int i = 0; i < sz; i++)
tbl[i] = 0;